import { BasicListItemDataType } from './data.d';

export interface StateType {
  list: BasicListItemDataType[];
}

export interface ModelType {
  namespace: string;
  state: StateType;
  effects: {};
  reducers: {};
}

const Model: ModelType = {
  namespace: 'global',

  state: {
    routes: require('@@/core/routes').routes,
  },

  effects: {},

  reducers: {},
};

export default Model;
